package com.elong.businesstravel.protocol.login;

import org.apache.http.Header;
import org.json.JSONObject;

import com.elong.businesstravel.protocol.baseresponse.BaseELongJsonHttpResponse;

public class GetYZMResponse extends BaseELongJsonHttpResponse {

	public String messageString;
	public int status;
	
	@Override
	public void onSuccess(int statusCode, Header[] headers,
			JSONObject mainJsonObject) throws Throwable {
		JSONObject responseJsonObject = mainJsonObject.getJSONObject("response");
		messageString = responseJsonObject.optString("msg","");
		status = responseJsonObject.optInt("status", -1);
	}

}
